package com.mls.guardian.config;

/**
 * Created by jl on 15/10/27.
 */
public class NettyConfig {
    /**
     * client端配置
     */
    private long clientConnectTimeoutMillis  = 3000;
    private int clientSocketSndBufSize = 65535;
    private int clientSocketRcvBufSize = 65535;
    private int masterWorkerNum = 50;

    public int getClientSocketSndBufSize() {
        return clientSocketSndBufSize;
    }

    public void setClientSocketSndBufSize(int clientSocketSndBufSize) {
        this.clientSocketSndBufSize = clientSocketSndBufSize;
    }

    public int getClientSocketRcvBufSize() {
        return clientSocketRcvBufSize;
    }

    public void setClientSocketRcvBufSize(int clientSocketRcvBufSize) {
        this.clientSocketRcvBufSize = clientSocketRcvBufSize;
    }

    /**
     * server端配置
     */





    public long getClientConnectTimeoutMillis() {
        return clientConnectTimeoutMillis;
    }

    public void setClientConnectTimeoutMillis(long clientConnectTimeoutMillis) {
        this.clientConnectTimeoutMillis = clientConnectTimeoutMillis;
    }

    public int getMasterWorkerNum() {
        return masterWorkerNum;
    }

    public void setMasterWorkerNum(int masterWorkerNum) {
        this.masterWorkerNum = masterWorkerNum;
    }
}
